#include "map.h"

Map::Map() {
	
}

Map::Map(const Jimbo::Map &source) {
	for (int i = 0; i < source.cell_size(); i++) {
		const Jimbo::Map::Cell &cellSource = source.cell(i);
		Cell newCell = Cell(cellSource.height(), cellSource.contour());
		append(newCell);
	}
}

Map::~Map() {
	
}
